package com.monitor.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.service.IService;
import com.monitor.entity.ErpCustomer;
import com.monitor.entity.ErpMaterielFlow;
import com.monitor.util.Result;

/**
 * <p>
 * 物料流转表 服务类
 * </p>
 *
 * @author LX
 * @since 2018-09-08
 */
public interface ErpMaterielFlowService extends IService<ErpMaterielFlow> {
	//销售维修 调拨出库 承运企业查询
	public Result<List<ErpCustomer>> selectHuoByCode(int custId);
	
	//销售维修 调拨出库 库存物料查询
	public Result<List<Map<String, Object>>> selectByWareHouseId(int custId,int custWareId);
	
	//销售维修 调拨出库添加
	public Result<Integer> addMaterielFlow(ErpMaterielFlow mf, String mfmsJson,int userId,int custId);
	
	public String getSheelIdByDate(String time,String type);
	
}
